package com.example.safeassistan.home.model;

import java.util.List;

public class CheckCommentPerson {
    /**
     * success : true
     * message : 操作成功！
     * code : 0
     * result : [{"userId":"1404599140322856962","userName":"cezh1","spiritStatus":"1","bodyStatus":"1","createTime":null}]
     * timestamp : 1624009410870
     */

    private Boolean success;
    private String message;
    private Integer code;
    private Long timestamp;
    private List<ResultDTO> result;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public static class ResultDTO {
        /**
         * userId : 1404599140322856962
         * userName : cezh1
         * spiritStatus : 1
         * bodyStatus : 1
         * createTime : null
         */

        private String userId;
        private String userName;
        private String spiritStatus;
        private String bodyStatus;
        private String createTime;

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getSpiritStatus() {
            return spiritStatus;
        }

        public void setSpiritStatus(String spiritStatus) {
            this.spiritStatus = spiritStatus;
        }

        public String getBodyStatus() {
            return bodyStatus;
        }

        public void setBodyStatus(String bodyStatus) {
            this.bodyStatus = bodyStatus;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
    }
}
